package com.example.system.service;

import com.example.common.core.Result;
import com.example.system.dto.RoleParam;

import java.util.List;

public interface RoleService {
    Result add(RoleParam roleParam);

    Result delete(Integer id);

    Result deleteBatch(List<Integer> ids);

    Result update(RoleParam roleParam);

    Result select(Integer id);

    Result selectList(Integer page, Integer size);

    Result selectRolesByAdminId(Integer id);

}
